|
AL SET SOUND MIN DISTANCE
This function will set the minimum distance from the sound before attenuation is applied to it. Attenuation is applied in the space between the minimum distance and the maximum distance, where the maximum is the furtherest point from which you can still hear the sound.
AL SET SOUND MIN DISTANCE soundNumber, distance
soundNumber
Integer
The ID you want to use to create this sound.
distance
Float
The minimum distance from the sound where attenuation will begin. Default value is 0.0.
This function does not return a value.
|